#include <stdio.h>
#include <math.h>
#include "Encryption.h"

int moemoe(int cow)
{
	if (cow <= 4) {
		return cow;
	}
	else {
		return moemoe(cow - 3) + moemoe(cow - 1);
	}
}

int PiecewiseFunc(int x) {
	if (x < 1) {
		return x;
	}
	else if (1 <= x && x < 10) {
		return(2 * x - 1);
	}
	else if (10 <= x) {
		return(3 * x - 11);
	}
	else return false;
}